{template "content","header_common"}
{template "content","header"}
<link rel="stylesheet" type="text/css" href="{CSS_PATH}content.css" />
<script type="text/javascript" src="{JS_PATH}jquery.Xslider.js"></script>
<script type="text/javascript" src="{JS_PATH}jquery.slide.js"></script>
<script type="text/javascript"> 
function getXmlHttpRequest(){
	 if(window.ActiveXObject){
		  var ieArr=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP","Microsoft.XMLHTTP"];               
		  for(var i=0;i<ieArr.length;i++)
			  {
			  var xmlhttp= new ActiveXObject(ieArr[i]);
			  }
			  return xmlhttp;
	 }else if(window.XMLHttpRequest){
			 return new XMLHttpRequest();
	 }           
}
 
var request=getXmlHttpRequest();
 
$(document).ready(function(){
	
	// 焦点图片水平滚动
	$("#slider1").Xslider({
		// 默认配置
		affect: 'scrollx', 
		speed: 800, 
		space: 6000, 
		auto: true, 
		trigger: 'mouseover',
		conbox: '.conbox',
		ctag: 'div',
		switcher: '.switcher',
		stag: 'a', 
		current:'cur', 
		rand:false 
	});
	
	// 焦点图片垂直滚动
	$("#slider2").Xslider({
		affect:'scrolly',
		ctag: 'div',
		speed:400
	});
	
	// 焦点图片淡隐淡现
	$("#slider3").Xslider({
		affect:'fade',
		ctag: 'div'
	});
	
	// 选项卡
	$("#slider4").Xslider({
		affect:'none',
		ctag: 'div',
		speed:10
	});
	
	
});
 
</script>
<script type="text/javascript"> 
$(function (){
	
	/* 用按钮控制图片左右滚动 */
	$(".hotPic .JQ-slide").Slide({
		effect:"scroolLoop",
		autoPlay:false,
		speed:"normal",
		timer:3000,
		steps:1
	});
 
	
});
</script>
<script type="text/javascript"> 
$(function(){					
	// 最新通告 js 效果						
	var b = $(".player ul>li").size();
 
	var eClick = 1;	
	var elength = $(".player ul>li").length-1;
	var p1_l = parseInt($('.p1').position().left);
	var p2_l = parseInt($('.p2').position().left);
	var p3_l = parseInt($('.p3').position().left);
	
	$("#icon_left").click(function(){
		//flashEffect();
		if(eClick == 1){
			$(".player ul>li").each(function(i){
				var a = $(this).attr("class"),
				c = parseInt(a.charAt(1)) - 1;
				c == 0 && (c = b);
				
				eClick = 0;
				if(c==2){
					$(this).animate({left:p2_l},500);
					$(this).css({width:325,height:223});
					$(this).css('z-index',10);
				}
				if(c==1){
					$(this).animate({left:p1_l},300).queue(function(next){
					   $(this).animate({width:248,height:188},200);
					    next();
					});
					$(this).css({width:248,height:188});
					$(this).css('z-index',9);
				}
				if(c==3){
					$(this).animate({left:p3_l},500);
					$(this).css({width:248,height:188});
					$(this).css('z-index',8);
				}
				
				$(this).removeClass(a).addClass("p" + c);
				
				if(i == elength){
					window.setTimeout(function(){
						eClick = 1					   
					},500);
				}
			});
			return ;	
		}else{
			return ;
		}
		
	}),
	$("#icon_right").click(function(){
		if(eClick == 1){
			$(".player ul>li").each(function(i){
				var a = $(this).attr("class");
				c = parseInt(a.charAt(1)) + 1;
				c > b && (c = 1);
				
				eClick = 0;
				if(c==1){
					$(this).animate({left:p1_l},500);
					$(this).css({width:248,height:188});
					$(this).css('z-index',8);
				}
				if(c==2){
					$(this).animate({left:p2_l},500);
					$(this).css({width:325,height:223});
					$(this).css('z-index',10);
				}
				if(c==3){
					$(this).animate({left:p3_l},300).queue(function(next){
					   	$(this).animate({width:248,height:188},200);
					    next();
					});
					$(this).css({width:248,height:188});
					$(this).css('z-index',9);
				}
				$(this).removeClass(a).addClass("p" + c);
				if( i == elength ){
					window.setTimeout(function(){
						eClick = 1					   
					},500);		
				}
			});
			
			return ;
		}else{
			
		}
	});
	
	
	$(".player ul>li.p1").live("click",function(){
		$("#icon_right").click();
	}),
	$(".player ul>li.p3").live("click",function(){
		$("#icon_left").click();
	}),
 
	$(".player ul>li.p2").live('click',function(){
		var url = $(this).find("a").attr("href");
		window.open(url);return false;
	});
	// 自动滚动
	setInterval(function(){
		$("#icon_left").click();
	}, 3000);	
});
</script>
 
<!--星闻tab滑动begin-->
<script type="text/javascript"> 
//ajax 选项卡
$('#ajaxtab .tabbtn li a').click(function(){
	var thiscity = $(this).attr("href");
	$("#ajaxtab .loading").ajaxStart(function(){
		$(this).show();
	}); 
	$("#ajaxtab .loading").ajaxStop(function(){
		$(this).hide();
	}); 
	$('#ajaxtab .tabcon').load(thiscity);
	$('#ajaxtab .tabbtn li a').parents().removeClass("current");
	$(this).parents().addClass("current");
	return false;
});
$('#ajaxtab .tabbtn li a').eq(0).trigger("click");
 
//tab plugins 插件
$(function(){
	
	//选项卡鼠标滑过事件
	$('#statetab .tabbtn li').mouseover(function(){
		TabSelect("#statetab .tabbtn li", "#statetab .tabcon", "current", $(this))
	});
	$('#statetab .tabbtn li').eq(0).trigger("mouseover");
	
	//选项卡鼠标滑过事件
	$('#clicktab .tabbtn li').click(function(){
		TabSelect("#clicktab .tabbtn li", "#clicktab .tabcon", "current", $(this))
	});
	$('#clicktab .tabbtn li').eq(0).trigger("click");
 
	function TabSelect(tab,con,addClass,obj){
		var $_self = obj;
		var $_nav = $(tab);
		$_nav.removeClass(addClass),
		$_self.addClass(addClass);
		var $_index = $_nav.index($_self);
		var $_con = $(con);
		$_con.hide(),
		$_con.eq($_index).show();
	}
	
});
</script>
<!--星闻tab滑动end-->
<script type="text/javascript"> 
//ajax 选项卡
$('#ajaxtab .tabbtn02 li a').click(function(){
	var thiscity = $(this).attr("href");
	$("#ajaxtab .loading").ajaxStart(function(){
		$(this).show();
	}); 
	$("#ajaxtab .loading").ajaxStop(function(){
		$(this).hide();
	}); 
	$('#ajaxtab .tabcon02').load(thiscity);
	$('#ajaxtab .tabbtn02 li a').parents().removeClass("current");
	$(this).parents().addClass("current");
	return false;
});
$('#ajaxtab .tabbtn02 li a').eq(0).trigger("click");
 
//tab plugins 插件
$(function(){
	
	//选项卡鼠标滑过事件
	$('#statetab02 .tabbtn02 li').mouseover(function(){
		TabSelect("#statetab02 .tabbtn02 li", "#statetab02 .tabcon02", "current", $(this))
	});
	$('#statetab02 .tabbtn02 li').eq(0).trigger("mouseover");
	
	//选项卡鼠标滑过事件
	$('#clicktab .tabbtn02 li').click(function(){
		TabSelect("#clicktab .tabbtn02 li", "#clicktab .tabcon02", "current", $(this))
	});
	$('#clicktab .tabbtn02 li').eq(0).trigger("click");
 
	function TabSelect(tab,con,addClass,obj){
		var $_self = obj;
		var $_nav = $(tab);
		$_nav.removeClass(addClass),
		$_self.addClass(addClass);
		var $_index = $_nav.index($_self);
		var $_con = $(con);
		$_con.hide(),
		$_con.eq($_index).show();
	}
	
});
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>
<div class="mainBody">
  {template "content","newsnav$modelid"}
  <div class="main">
  
        <!--左侧部分开始-->
        <div class="main_L">
          <div class="focus">
            <div id="demopage">
              <div id="slider2" class="slider">
                {pc:content  action="position"  posid="14" catid="$catid" order="listorder DESC" thumb="1" num="5"}
                <div class="conbox">
                {loop $data $k $r}
                    <div>
                        <a href="{$r['url']}" target="_blank" title="{$r['title']}"><img src="{thumb($r[thumb],304,375)}" width="304" height="375" border="0" alt="{$r['title']}" /></a>
                        <h4><a href="{$r['url']}" target="_blank" title="{$r['title']}">{$r['title']}</a></h4>
                    </div>
                {/loop}
                </div>
                {/pc}
                
                {pc:content  action="position"  posid="14" catid="$catid" order="listorder DESC" thumb="1" num="5"}
                <div class="switcher">
                    {loop $data $k $r}
                    <a href="javascript:void(0);">{$n}</a>
                    {/loop}
                </div>
                {/pc}
              </div>
              <!--slider end-->
            </div>
          </div>
          <div class="hotnews">
          <h2 class="hotnews_tit"><a href="{catidurl(77)}" target="_blank">热点专题</a></h2>
           {pc:content  action="lists" posid="6" catid="77" order="rand()" thumb="1" num="1"} 
           {loop $data $k $r}
            <dl class="hotnews_Img">
              <dt><a href="{$r['url']}" target="_blank" title="{$r['title']}"><img src="{thumb($r[thumb],80,60)}" width="80" height="60" border="0" alt="{$r['title']}" /></a></dt>
              <dd>
                <h3><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'54','')}</a></h3>
                <p>{str_cut($r['description'],69,'...')}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详情]</a></p>
              </dd>
            </dl>
            {/loop}
            {/pc}
            <ul class="hotnews_list">
            {pc:content  action="lists" posid="7" catid="77" order="listorder DESC" num="3"} 
                {loop $data $k $r}
                <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'51','')}</a></li>
                {/loop}
            {/pc}
            </ul>
          </div>
        </div>
        <!--左侧部分结束-->
        
        <!--娱乐大风暴开始-->
        <div class="main_C">
            {pc:content action="lists" catid="$catid" posid="3" order="listorder DESC" num="2"}
            {loop $data $k $r}
            <div class="headline">
                <h1 class="head_tit"><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'63','')}</a></h1>
                <div class="head_text">
                    <p>{str_cut($r['description'],138,'...')}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详情]</a></p>
                </div>
            </div>
            {/loop}
            {/pc}
        
            {pc:content action="lists" catid="86" posid="4" order="listorder DESC" num="8"}
            {if $data}
            <div class="main_news">
                <ul>
                    {loop $data $k $r}
                    <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'72','')}</a></li>
                    {/loop}
                </ul>
            </div>
            {/if}
            {/pc}
          
            <div class="main_news02">
                <h2><a class="yupin" href="{catidurl(82)}" target="_blank"><img src="{IMG_PATH}yupin_btn.gif" width="50" height="20" /></a><span><a href="{catidurl(82)}" target="_blank">更多>></a></span></h2>
                <ul>
                {pc:content action="lists" catid="82" posid="7" order="listorder DESC" num="6"}
                {loop $data $k $r}
                <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'66','')}</a></li>
                {/loop}
                {/pc}
                </ul>
            </div>
        </div>
        <!--娱乐大风暴结束-->
        
        <!--首屏右侧部分开始-->
        <div class="main_R">
        
            <div class="survey">
                {pc:content action="lists" catid="80" posid="6" order="id DESC" num="1"}
                {if $data}
                <h2><a class="title01" href="{catidurl(80)}" target="_blank">有料</a><span><a href="{catidurl(80)}" target="_blank">更多>></a></span></h2>
                <div class="star_cont star_line01">
                    {loop $data $k $r} 
                    <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],80,80)}" width="80" height="80" border="0" alt="{$r['title']}" /></a>
                    <div class="star_tex">
                        <a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'30','')}</a>
                        <p>{str_cut($r['description'],87,'...')}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详细]</a></p>
                    </div>
                    {/loop}
                </div>
                {/if}
                {/pc}
                
                {pc:content action="lists" catid="80" posid="7" order="listorder DESC" num="7"}
                {if $data}
                <div class="survey_Img">
                    <ul class="star_link01 star_link02">
                    {loop $data $k $r}
                    <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],'57','')}</a></li>
                    {/loop}
                    </ul>
                </div>
                {/if}
                {/pc}
          </div>
            
            <!--明星微博开始-->
            {pc:content action="lists" catid="81" posid="6" order="id DESC" num="3"}
            {if $data}
            <div class="space">
                <h2><a class="title01" href="{catidurl(81)}" target="_blank">拍捧</a><span><a href="{catidurl(81)}" target="_blank">更多>></a></span></h2>
                <div class="weibo">
                    <div id="scrollDiv">
                        <ul>
                            {loop $data $k $r}
                            {if $n==1||$n==2}
                            <li>
                                <a class="scroll_tit" href="{$r['url']}" target="_blank" title="{$title}">{str_cut($r['title'],54,'')}</a>
                                <p>{str_cut($r['description'],85,"")}&nbsp;&nbsp;<a class="scroll_more" href="{$r['url']}" target="_blank" title="{$title}">[详细]</a></p>
                            </li>
                            {else}
                            <li class="scroll_line">
                                <a class="scroll_tit" href="{$r['url']}" target="_blank" title="{$title}">{str_cut($r['title'],54,'')}</a>
                                <p>{str_cut($r['description'],85,"")}&nbsp;&nbsp;<a class="scroll_more" href="{$r['url']}" target="_blank" title="{$title}">[详细]</a></p>
                            </li>
                            {/if}
                            {/loop}
                        </ul>
                    </div>
                </div>
            </div>
            {/if}
            {/pc}
            <!--明星微博结束-->
        </div>
        <!--首屏右侧部分结束-->
        <div class="clear"></div>
    </div>
 
 
    <!--广告位开始-->
    <div class="clear"></div>
    <div class="adbanner">
		{pc:block pos="yl1"}{/pc}
	</div>
    <!--广告位结束-->
  <!--娱乐首屏结束-->
  
  
    <!--明星开始-->
    <div class="container">
        <div class="bg_R">
          <div class="bg_L">
            <h2 class="bg_tit01"><a href="{catidurl(76)}"></a></h2>
            <!--明星搜索左侧begin-->
            <div class="mainBar_L">
                <div class="star_search star_p_l">
                    <a href="{catidurl(76)}" target="_blank"><h2 class="star_tit" id="m_x_k_t"></h2></a>
                    <ul class="star_p_t">
                        {pc:content action="lists" catid="76" posid="8" order="listorder DESC" thumb="1" num="4"}
                        {loop $data $k $r}
                        {if $n%2==1}
                        <li>
                            <dl class="star_p_i">
                                <dt><a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],100, 75)}" alt="{$r['title']}"/></a></dt>
                                <dd><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],27,'')}</a></dd>
                            </dl>
                        </li>
                        {else}
                        <li class="star_p_e">
                            <dl class="star_p_i">
                                <dt><a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],100, 75)}" alt="{$r['title']}"/></a></dt>
                                <dd><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],27,'')}</a></dd>
                            </dl>
                        </li>
                        {/if}
                        {/loop}
                        {/pc}
                    </ul>
                </div>
              
              
                <div class="topic">
                    <h2 class="topic_tit">火爆</h2>
                    {pc:content action="lists" catid="90" posid="124" order="rand()" num="1"}
                    {loop $data $k $r}
                    <div class="topic_cont">
                        <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],80, 80)}" width="80" height="80" border="0" alt="{$r['title']}" /></a>
                        <div class="topic_tex">
                            <strong><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],32,'')}</a></strong>
                            <p>{str_cut($r['description'],83,"...")}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详细]</a></p>
                        </div>
                    </div>
                    {/loop}
                    {/pc}
                
                    {pc:content action="position" catid="90" posid="125" order="listorder DESC" num="3"}
                    {if $data}
                    <ul class="topic_link">
                        {loop $data $k $r}
                        <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],54,'')}</a></li>
                     	{/loop}
                    </ul>
                    {/if}
                    {/pc}
              </div>
            </div>
            <!--明星搜索左侧end-->
            
            <!--星闻begin-->
            <div class="mainBar_C">
                <h2 class="news_tit">星闻<span><img src="{IMG_PATH}news_01.gif" /></span></h2>
                
                {pc:content action="lists" catid="86" posid="5" order="listorder DESC" num="1"}
                {loop $data $k $r}
                <div class="news_cont">
                    <h3><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],66,'')}</a></h3>
                    <p>{str_cut($r['description'],120,"...")}&nbsp;&nbsp;<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详情]</a></p>
                </div>
                {/loop}
                {/pc}
              
                <div class="demopage">
                    <div class="tabbox" id="statetab">
                        <ul class="tabbtn">
                            <li class="current"><a href="javascript:void(0);">内地</a></li>
                            <li><a href="javascript:void(0);">港台</a></li>
                            <li><a href="javascript:void(0);">海外</a></li>
                        </ul>
                        <!--tabbtn end-->
                        {pc:content action="lists" catid="86" posid="7" order="listorder DESC" num="10"}
                        <div class="tabcon">
                            <ul>
                                {loop $data $k $r}  
                                <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],72,'')}</a></li>
                                {/loop}
                            </ul>
                        </div>
                        {/pc}
                        <!--tabcon end-->
                        {pc:content action="lists" catid="85" posid="7" order="listorder DESC" num="10"}
                        <div class="tabcon">
                            <ul>
                                {loop $data $k $r}  
                                <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],72,'')}</a></li>
                                {/loop}
                            </ul>
                        </div>
                        {/pc}
                        <!--tabcon end-->
                        {pc:content action="lists" catid="84" posid="7" order="listorder DESC" num="10"}
                        <div class="tabcon">
                            <ul>
                                {loop $data $k $r}  
                                <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],72,'')}</a></li>
                                {/loop}
                            </ul>
                        </div>
                        {/pc} 
                        <!--tabcon end-->
                    </div>
                    <!--tabbox end-->
                </div>
            </div>
            <!--星闻end-->
            
            <!--明星人气榜begin-->
            <div class="mainBar_R">
                <div class="star_list">
                    <h2><a class="title01" href="{catidurl(88)}">最闪</a></h2>
                    
                    {pc:content action="lists" catid="88" posid="6" order="listorder DESC" num="1"}
                    {loop $data $k $r}
                    <div class="star_cont">
                        <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],80, 80)}" width="80" height="80" border="0" alt="{$r['title']}"/></a>
                        <div class="star_tex">
                            <strong><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],30,'')}</a></strong>
                            <p>{str_cut($r['description'],87,"...")}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详细]</a></p>
                        </div>
                    </div>
                    {/loop}
                    {/pc}
                    
                    {pc:content action="lists" catid="87" posid="7" order="listorder DESC" num="5"}
                    <h2><a class="title01" href="{catidurl(87)}">潮流</a></h2>
                    <ul class="star_link01" style="padding-bottom:10px;">
                    {loop $data $k $r}
                       <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],57,'')}</a></li>
                    {/loop}
                    </ul>
                    {/pc}
                    
                    <h2><a class="title01" href="{catidurl(89)}">八卦</a></h2>
                    <ul class="star_link01">
                    {pc:content action="lists" catid="89" posid="7" order="listorder DESC" num="5"}
                    {loop $data $k $r}
                        <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],57,'')}</a></li>
                    {/loop}
                    {/pc}
                    </ul>
                </div>
            </div>
            <!--明星人气榜end-->
            <div class="clear"></div>
        </div>
        </div>
    </div>
    <!--明星结束-->
 
    <!--广告位begin-->
    <div class="clear"></div>
    <div class="adbanner">
{pc:block pos="yl2"}{/pc}
	</div>
    <!--广告位end-->
    
    <!--音乐影视begin-->
    <div class="container">
        <div class="bg_R">
            <div class="bg_L">
                <h2 class="bg_tit02"><a href="{catidurl(78)}" target="_blank"></a></h2>
                
                <div class="sideBar">
                
                    <!--最新通告begin-->
                    {pc:content action="lists" catid="78" posid="91" order="listorder DESC" thumb="1" num="6"}
                    {if $data}
                    <div class="notice">
                        <div class="player">
                            <div id="icon_left"><a href="javascript:void(0);"></a></div>
                            <div id="icon_right"><a href="javascript:void(0);"></a></div>
                            <div>
                                <ul class="clearfix">
                                    {loop $data $k $r}
                                    <li class="p{$n}">
                                        <img src="{thumb($r['thumb'],248,184)}" alt="{$r['title']}" width="248" height="184" />
                                        <h3><a target="_blank" href="{$r['url']}" title="{$r['title']}">{str_cut($r['title'],48)}</a></h3>
                                    </li>
                                    {/loop}
                                </ul>
                            </div>
                        </div>
                    </div>
                    {/if}
                    {/pc}
                    <!--最新通告end-->
                    
                    <!--电影搜索左侧begin-->
                    <div class="movie_L">
                    {pc:content action="lists" catid="91" posid="6" order="listorder DESC" num="1"}
                    {loop $data $k $r}
                        <div class="star_search">
                            <div class="topic_cont movie_k">
                                <a href="{catidurl(91)}"><h2 class="star_tit" id="d_y_k_t"></h2></a>
                                <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],80, 80)}" width="80" height="80" border="0" alt="{$r['title']}"/></a>
                                <div class="topic_tex star_profile"> 
                                    <strong><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],27,'')}</a></strong>
                                    <p>{str_cut($r['description'],84,"...")}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详细]</a></p>
                                </div>
                            </div>
                        </div>
                        <div class="star_line"></div>
                    {/loop}
                        
                    {pc:content action="lists" catid="92" posid="6" order="listorder DESC" num="1"}
                    {loop $data $k $r}
                        <div class="star_search">
                            <div class="topic_cont dianshi_k">
                                <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],80, 80)}" width="80" height="80" border="0" alt="{$r['title']}"/></a>
                                <div class="topic_tex star_profile"> 
                                    <strong><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],27,'')}</a></strong>
                                    <p>{str_cut($r['description'],84,"...")}<a href="{$r['url']}" target="_blank" title="{$r['title']}">[详细]</a></p>
                                </div>
                            </div>
                        </div>
                    {/loop}
                    {/pc}
                    </div>
                    <!--电影搜索左侧end-->
                    
                    <!--休闲汇begin-->
                    <div class="info_news">
                        <div class="demopage">
                            <div class="tabbox" id="statetab02" style="height:260px;">
                                <ul class="tabbtn02">
                                    <li class="current"><a href="javascript:void(0);">电影</a></li>
                                    <li><a href="javascript:void(0);">电视</a></li>
                                </ul>
                                <!--tabbtn02 end-->
                                {pc:content action="lists" catid="91" posid="7" order="listorder DESC" num="8"}
                                <div class="tabcon02 tabcon03">
                                    <ul>
                                        {loop $data $k $r}  
                                        <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],72,'')}</a></li>
                                        {/loop}
                                    </ul>
                                </div>
                                {/pc}
                                <!--tabcon02 end-->
                                
                                {pc:content action="lists" catid="92" posid="7" order="listorder DESC" num="8"}
                                <div class="tabcon02 tabcon03">
                                    <ul>
                                        {loop $data $k $r}  
                                        <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],72,'')}</a></li>
                                        {/loop}
                                    </ul>
                                </div>
                                {/pc}
                                <!--tabcon02 end-->
                            </div>
                            <!--tabbox end-->
                        </div>
                        <div class="clear"></div>
                    </div>
                    <!--休闲汇end-->
                    
                    <div class="clear"></div>
                </div>
                
                <div class="mainBar_R">
                    <div class="star_list">
                        {pc:content action="lists" catid="93" posid="6" order="listorder DESC" thumb="1" num="1"}
                        <h2><a class="title01" href="{catidurl(93)}">演出</a></h2>
                        {loop $data $k $r}
                        <div class="star_cont">
                            <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],80, 80)}" width="80" height="80" border="0" alt="{$r['title']}" /></a>
                            <div class="star_tex">
                                <strong><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],33,'')}</a></strong>
                                <p>{str_cut($r['description'],87,"...")}<a href="{$r['url']}" title="{$r['title']}" target="_blank">[详细]</a></p>
                            </div>
                        </div>
                        {/loop}
                        {/pc}
                        
                        <h2><a class="title01" href="{catidurl(77)}">热点专题</a></h2>
                        <div class="layout">
                            <div class="hotPic">
                                <div class="JQ-slide">
                                    <div class="JQ-slide-nav">
                                        <a class="prev" href="javascript:void(0);">&#8249;</a>
                                        <a class="next" href="javascript:void(0);">&#8250;</a>
                                    </div>
                                    
                                    {pc:content action="lists" catid="77" posid="8" thumb="1" order="listorder DESC" num="6"}
                                    <div class="wrap01">
                                        <ul class="JQ-slide-content imgList">
                                            {loop $data $k $r}              
                                            <li> <a href="{$r['url']}" title="{$r['title']}" target="_blank" class="img"><img src="{thumb($r[thumb],180, 80)}"  width="180" height="80" border="0" alt="{$r['title']}"/></a><a href="{$r['url']}" title="{$r['title']}" target="_blank" class="txt">{str_cut($r['title'],52,'')}</a></li>
                                            {/loop}
                                        </ul>
                                    </div>
                                    {/pc}
                                </div>
                            </div>
                        </div>
                        
                        {pc:content action="lists" catid="79" posid="7" order="listorder DESC" num="6"}
                        <h2 class="top_music"><a href="{catidurl(79)}" target="_blank">音乐</a></h2>
                        <ul class="star_link01 star_link03">
                            {loop $data $k $r}  
                            <li><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],54,'')}</a></li>
                            {/loop}
                        </ul>
                        {/pc}
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>
    <!--音乐影视end-->
<div class="clear"></div>
    <div class="adbanner">
    {pc:block pos="yl3"}{/pc}
    </div>
    
    
    <!--  图片视频  start   -->
    <div class="wrap">
        <div id="phone_container">
            <div class="phone_container_title"><a href="{catidurl(83)}" class="phone_more_link" target="_blank">更多>></a></div>
            <div class="tab_container">
                <div class="tab_title_wrap">
                    <div class="tab_title tab_title_cur tab_title_happy">娱乐</div>
                    <div class="tab_title">电视</div>
                    <div class="tab_title_blank"><a href="{catidurl(83)}" target="_blank">&nbsp;</a></div>
                    <div class="tab_title">音乐</div>
                    <div class="tab_title tab_title_movie">电影</div>
                </div>
                
                <div class="tab_content_wrap">
                    {php $posids_1035  = array(75=>'娱乐',92>'电视',91=>'电影',79=>'音乐');}
                    {loop $posids_1035 $posid $posname}
                    <!--  tab  content  strart  -->
                    <div class="tab_content"{if $posid==75} style="display:block;"{else} style="display:none;"{/if}>
                        {pc:content action="lists" catid="$posid" order="rand()" thumb="1" num="1"}
                        {loop $data $k $r}
                        <div class="phone_first_item fn-left">
                            <a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],270, 360)}" width="270" height="360" border="0" alt="{str_cut($r['title'],27,'')}"/></a>
                            <div class="phone_first_item_title"><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r['title'],48,'')}</a></div>
                        </div>
                        {/loop}
                        {/pc}
                        
                        {pc:content action="lists" catid="$posid" order="listorder DESC" thumb="1" num="4"}
                        <div class="phone_second_item fn-right">
                            {loop $data $k $r}
                            <div class="phone_second_item_img{if $n==2 || $n==4} last_item{/if}"><a href="{$r['url']}" title="{$r['title']}" target="_blank"><img src="{thumb($r[thumb],270, 160)}" width="270" height="160" border="0" alt="{str_cut($r['title'],27,'')}"/></a></div>
                            {/loop}
                        </div>
                        {/pc}
                        
                        <div class="clear"></div>
                    </div>
                    <!--  tab  content  end  -->
                    {/loop}
                </div>
            </div>
        </div>
    </div>
<script language="javascript">
$(document).ready(function(){
	$('.tab_container').find('.tab_title').hover(function(){
	$('.tab_container').find('.tab_title').removeClass('tab_title_cur');
	$(this).addClass('tab_title_cur');
	
	var cur_index = $('.tab_title').index($(this));
	$('.tab_container').find('.tab_content').hide();
	$('.tab_container').find('.tab_content').eq(cur_index).show();
	
	},function(){
	
	});
});
</script>
{template "content","com_global_botnav"}
{template "content","footer"}